//
//  GMTAfterSaleModel.m
//  dealData
//
//  Created by  Mac on 2021/3/18.
//

#import "GMTAfterSaleModel.h"

@implementation GMTAfterSaleModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{ @"ID" : @"id"};
}
+(NSDictionary *)mj_objectClassInArray {
    return @{@"orderGoodsEntityList":[OrderGoodsEntityList class]};
}

+(instancetype)mj_objectWithKeyValues:(id)keyValues context:(NSManagedObjectContext *)context {
    
    NSDictionary * dic = [[NSArray arrayWithArray:keyValues[@"orderEntityList"]] firstObject];
    GMTAfterSaleModel * model = [[[GMTAfterSaleModel alloc] mj_setKeyValues:dic] mj_setKeyValues:keyValues];
    
    return model;
}

@end
